<?php

return [
    'sys'=>[
        'power' => [
//            1 => ['label' =>'单相ups', 'value'=>'1', 'icon'=>'ups', 'router'=>'sups', 'child'=> 0, 'rvalue'=>'1',],
//            10 => ['label' =>'三相ups', 'value'=>'10', 'icon'=>'ups', 'router'=>'ups', 'child'=> 0, 'rvalue'=>'10',],
            'ups' => [
                'label' =>'ups', 'value'=>'ups', 'icon'=>'ups', 'router'=>'ups', 'child'=> 0, 'rvalue'=>'ups',
                'sub' => [
                    ['label' =>'单相ups', 'value'=>'1', 'icon'=>'ups', 'router'=>'sups', 'child'=> 0, 'rvalue'=>'1',],
                    ['label' =>'三相ups', 'value'=>'10', 'icon'=>'ups', 'router'=>'ups', 'child'=> 0, 'rvalue'=>'10',],
                ]
             ],
            5 => ['label' =>'精密配电', 'value'=>'5', 'icon'=>'jmpd', 'router'=>'peidian', 'child'=> 0, 'rvalue'=>'5'],
            39 => ['label' =>'市电检测', 'value'=>'39', 'icon'=>'shidian', 'router'=>'shidian', 'child'=> 0, 'rvalue'=>'39'],
            //345 => ['label' =>'市电检测', 'value'=>'345', 'icon'=>'shidian', 'router'=>'switch', 'child'=> 5, 'rvalue'=>'34'],
//            24 => ['label' =>'电池电量', 'value'=>'24', 'icon'=>'battery', 'router'=>'battery', 'child'=> 0, 'rvalue'=>'24'],
            21 => ['label' =>'电池组', 'value'=>'21', 'icon'=>'battery-group', 'router'=>'batterygroup', 'child'=> 0, 'rvalue'=>'21'],
         ],
         'env' => [ 
           13 =>  ['label' =>'精密空调', 'value'=>'13', 'icon'=>'jmkt', 'router'=>'air', 'child'=> 0, 'rvalue'=>'13'],
           20 =>  ['label' =>'普通空调', 'value'=>'20', 'icon'=>'ptkt', 'router'=>'ptair', 'child'=> 0, 'rvalue'=>'20'],
           33 =>  ['label' =>'温湿度', 'value'=>'33', 'icon'=>'wsdu', 'router'=>'temphu', 'child'=> 0, 'rvalue'=>'33'],
           342 => ['label' =>'漏水', 'value'=>'342', 'icon'=>'loushui', 'router'=>'switch', 'child'=> 2, 'rvalue'=>'34'],
         ],
         'fire' => [ 
             341 =>   ['label' =>'烟感', 'value'=>'341', 'icon'=>'yangan', 'router'=>'switch', 'child'=> 1, 'rvalue'=>'34'],
             348 =>   ['label' =>'消防', 'value'=>'348', 'icon'=>'sys-xf', 'router'=>'switch', 'child'=> 8, 'rvalue'=>'34'],
         ],
         'protect' => [ 
             343 =>  ['label' =>'红外', 'value'=>'343', 'icon'=>'red-gan', 'router'=>'switch', 'child'=> 3, 'rvalue'=>'34'],
             344 =>  ['label' =>'门磁', 'value'=>'344', 'icon'=>'menchi', 'router'=>'switch', 'child'=> 4, 'rvalue'=>'34'],
             347 =>  ['label' =>'玻璃', 'value'=>'347', 'icon'=>'glass', 'router'=>'switch', 'child'=> 7, 'rvalue'=>'34'],
             346 =>  ['label' =>'开关量', 'value'=>'346', 'icon'=>'switch', 'router'=>'switch', 'child'=> 6, 'rvalue'=>'34'],
             // 60 =>  ['label' =>'门禁', 'value'=>'60', 'icon'=>'menjin', 'router'=>'menjin', 'child'=> 0, 'rvalue'=>'60'],
         ], 
    ],    
    'names'=>[
        'power'=>'动力系统',
        'env'=>'环境系统',
        'fire'=>'消防系统',
        'protect'=>'安保系统'
    ],
    
    'realtable'=>[
        1 => 't_realdata_single',
        10 => 't_realdata_three',
        5 => 't_realdata_power ',
        13 => 't_realdata_generalair',
        20 => 't_realdata_gen_air',
        33 => 't_realdata_TempHumi',
        39 => 't_realdata_ACSta',
       // 24 => 't_realdata_batlev',
        21 => 't_realdata_BatRout',
        341 => 't_realdata_Switch',
        343 => 't_realdata_Switch',
        342 => 't_realdata_Switch',
        344 => 't_realdata_Switch',
//        345 => 't_realdata_Switch',
        346 => 't_realdata_Switch',
        347 => 't_realdata_Switch',
        348 => 't_realdata_Switch',
    ],
    
    'desc'=>[
        1 =>[ 'icon' => 'ups', 'realtable' => 't_realdata_single', 'router' => 'sups', 'label' =>'单相ups', 'value'=>'1','child'=> 0, 'rvalue'=>'1'],
        10 =>[ 'icon' => 'ups', 'realtable' => 't_realdata_three', 'router' => 'ups', 'label' =>'三相ups', 'value'=>'10', 'child'=> 0, 'rvalue'=>'10'],
        5 => [ 'icon' => 'jmpd', 'realtable' => 't_realdata_power', 'router' => 'peidian','label' =>'精密配电', 'value'=>'5', 'child'=> 0, 'rvalue'=>'5'],
        13 =>[ 'icon' => 'jmkt', 'realtable' => 't_realdata_generalair', 'router' => 'air','label' =>'精密空调', 'value'=>'13', 'child'=> 0, 'rvalue'=>'13'],
        20 =>[ 'icon' => 'ptkt', 'realtable' => 't_realdata_gen_air', 'router' => 'ptair','label' =>'普通空调', 'value'=>'20', 'child'=> 0, 'rvalue'=>'20'],
        33 =>[ 'icon' =>  'wsdu', 'realtable' => 't_realdata_TempHumi', 'router' => 'temphu','label' =>'温湿度', 'value'=>'33', 'child'=> 0, 'rvalue'=>'33'],
        39 =>[ 'icon' =>  'shidian', 'realtable' => 't_realdata_ACSta', 'router' => 'shidian','label' =>'市电检测', 'value'=>'39', 'child'=> 0, 'rvalue'=>'39'],
        // 24 => ['label' =>'电池电量','realtable' => 't_realdata_batlev', 'value'=>'24', 'icon'=>'battery', 'router'=>'battery', 'child'=> 0, 'rvalue'=>'24'],
        21 => ['label' =>'电池组','realtable' => 't_realdata_BatRout', 'value'=>'21', 'icon'=>'battery-group', 'router'=>'batterygroup', 'child'=> 0, 'rvalue'=>'21'],        
        341 =>[ 'icon' =>  'yangan', 'realtable' => 't_realdata_Switch', 'router' => 'switch','label' =>'烟感', 'value'=>'341', 'child'=> 1, 'rvalue'=>'34'],
        343 =>[ 'icon' =>  'red-gan', 'realtable' => 't_realdata_Switch', 'router' => 'switch','label' =>'红外', 'value'=>'343', 'child'=> 3, 'rvalue'=>'34'],
        342 =>[ 'icon' =>  'loushui', 'realtable' => 't_realdata_Switch', 'router' => 'switch','label' =>'漏水', 'value'=>'342', 'child'=> 2, 'rvalue'=>'34'],
        344 =>[ 'icon' =>  'menchi', 'realtable' => 't_realdata_Switch', 'router' => 'switch','label' =>'门磁', 'value'=>'344', 'child'=> 4, 'rvalue'=>'34'],
        // 345 =>[ 'icon' =>  'shidian', 'realtable' => 't_realdata_Switch', 'router' => 'switch','label' =>'市电检测', 'value'=>'345', 'child'=> 5, 'rvalue'=>'34'],
        346 =>[ 'icon' =>  'switch', 'realtable' => 't_realdata_Switch', 'router' => 'switch','label' =>'开关量', 'value'=>'346', 'child'=> 6, 'rvalue'=>'34'],
        347 =>[ 'icon' =>  'glass', 'realtable' => 't_realdata_Switch', 'router' => 'switch','label' =>'玻璃', 'value'=>'347', 'child'=> 7, 'rvalue'=>'34'],
        348 =>[ 'icon' =>  'sys-xf', 'realtable' => 't_realdata_Switch', 'router' => 'switch','label' =>'消防', 'value'=>'348', 'child'=> 8, 'rvalue'=>'34'],
    ],
    'subMap' => [
       341 => 34, 
       343 => 34,
       342 => 34, 
       344 => 34,
       345 => 34, 
       346 => 34,
       347 => 34, 
       348 => 34,
    ],
    
    'childtype' => [ 1,3,2,4,5,6,7,8 ],
    
    //分组
   'group'=> [
       'ups' => [1,10],
   ],
   'groupDesc'=> [
       'ups' => 'ups',
   ]
    
];

